+Mon Jun 28 10:03:07 1999 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
+ bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
+ finding this.)
+
1999-06-01 Jose H Mercado <jmercado@mit.edu>
* gtk+.spec.in: Corrected some typos in files section.
+Mon Jun 28 10:03:07 1999 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
+ bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
+ finding this.)
+
1999-06-01 Jose H Mercado <jmercado@mit.edu>
* gtk+.spec.in: Corrected some typos in files section.
+Mon Jun 28 10:03:07 1999 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
+ bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
+ finding this.)
+
1999-06-01 Jose H Mercado <jmercado@mit.edu>
* gtk+.spec.in: Corrected some typos in files section.
+Mon Jun 28 10:03:07 1999 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
+ bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
+ finding this.)
+
1999-06-01 Jose H Mercado <jmercado@mit.edu>
* gtk+.spec.in: Corrected some typos in files section.
+Mon Jun 28 10:03:07 1999 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
+ bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
+ finding this.)
+
1999-06-01 Jose H Mercado <jmercado@mit.edu>
* gtk+.spec.in: Corrected some typos in files section.
+Mon Jun 28 10:03:07 1999 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
+ bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
+ finding this.)
+
1999-06-01 Jose H Mercado <jmercado@mit.edu>
* gtk+.spec.in: Corrected some typos in files section.
+Mon Jun 28 10:03:07 1999 Tor Lillqvist <tml@iki.fi>
+
+ * gdk/win32/gdkimage.c (gdk_image_get): bpl was set wrong for
+ bitmaps, should be multiple of 4. (Thanks to Hans Breuer for
+ finding this.)
+
1999-06-01 Jose H Mercado <jmercado@mit.edu>
* gtk+.spec.in: Corrected some typos in files section.
}
image->byte_order = GDK_LSB_FIRST;
if (image->depth == 1)
- image->bpl = (width - 1)/8 + 1;
+ image->bpl = ((width - 1)/32 + 1)*4;
else
image->bpl = ((width*image->bpp - 1)/4 + 1)*4;
}
image->byte_order = GDK_LSB_FIRST;
if (image->depth == 1)
- image->bpl = (width - 1)/8 + 1;
+ image->bpl = ((width - 1)/32 + 1)*4;
else
image->bpl = ((width*image->bpp - 1)/4 + 1)*4;